#pragma once

#include "SGNode.h"
#include "Parameter.h"
#include "CVector3f.h"

//Node representing a rotation
class SGNodeRotate : public SGNode
{
public:
	Parameter<CVector3f>	m_axis; //rotation axis
	Parameter<float>		m_angle; //rotation angle

public:
	//constructor
	SGNodeRotate();

	//destructor
	//~SGNodeRotate();

	//update the node
	void doUpdate();

	//dirty the node
	void dirty();
};